package com.wx.mall.goods.service;

import com.wx.mall.goods.dto.StockDto;
import com.wx.mall.goods.entity.Stock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wx.mall.goods.vo.req.StockReqVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author j
 * @since 2020-05-14
 */
public interface IStockService extends IService<Stock> {
    //根据类型为0的分页查询
    List<Stock> findAll(StockDto dto);
    //根据类型为0的筛选查询
    List<Stock> findScreen(StockDto dto);
    //软删除
    int deleteList(StockReqVo vo);
    //根据类型为1的分析查询
    List<Stock> findTwo(StockDto dto);
    //根据类型为1的筛选查询
    List<Stock> findScreenTwo(StockDto dto);

}
